Skip to content

Update: Align 'skip to transcript' styles with Media (fixes #39) - #54

Merged
swashbuck merged 1 commit into
masterfrom
issue/39
Jul 20, 2026
Merged

Update: Align 'skip to transcript' styles with Media (fixes #39)#54
swashbuck merged 1 commit into
masterfrom
issue/39

Conversation

@swashbuck

Copy link
Copy Markdown
Contributor

Fixes #39

Update

Align the "skip to transcript" button styles with the latest Media component accessibility approach:

  • Replace the :not(:focus-visible) visually-hidden rules with the core .visually-hidden-focusable mixin.
  • Add margin-bottom: @item-margin so the button has spacing when focused and visible.

Testing

  1. Build a course with a Vimeo component that has a transcript enabled.
  2. Using keyboard navigation, Tab until you reach the "Skip to transcript" button.
  3. Confirm the button stays hidden until focused, appears with correct spacing on focus, and moves focus to the transcript on activation.

Posted via collaboration with Claude Code

@kirsty-hames kirsty-hames left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected thanks @swashbuck 👍

@swashbuck
swashbuck requested review from ethan-lp and lemmyadams July 17, 2026 16:55
@swashbuck
swashbuck merged commit e17d937 into master Jul 20, 2026
1 check passed
@swashbuck
swashbuck deleted the issue/39 branch July 20, 2026 16:26
@github-project-automation github-project-automation Bot moved this from Needs Reviewing to Recently Released in adapt_framework: The TODO Board Jul 20, 2026
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 3.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Recently Released

Development

Successfully merging this pull request may close these issues.

Update "skip to transcript" styles as per Media

5 participants